# -*- coding: utf-8 -*-
import numpy as np

class AdjacencyMatrix():
    def __init__(self, n = 2):
        self.Matrix = np.zeros((n,n))
    def getMatrix(self):
        for d in self.Matrix:
            print(d)
    def addEdge(self, x, y, value):
        self.Matrix[x,y] = value

airport = AdjacencyMatrix(4)
airport.addEdge(0, 1, 1)
airport.addEdge(0, 2, 1)
airport.addEdge(0, 3, 1)
airport.addEdge(2, 3, 1)
airport.addEdge(3, 0, 1)
airport.getMatrix()
